package com.wang.controller;

import org.apache.log4j.Logger;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by servlet on 2018/4/30.
 */
@RestController
public class getController {
    private Logger logger = Logger.getLogger(getController.class);
    @RequestMapping(value = "/hello")
    public String hello(){
        logger.info("hello 方法已执行");
        return "helle springboot";
    }
}
